package com.aixingfu.sports.Model;

import java.util.List;

/**
 * Created by 吕冬冬 on 2019.05.09.
 *
 * @auhtor 吕冬冬
 * email 863964634@qq.com
 * 内容: 卡种
 * 修改人：
 * 修改时间：
 * 修改备注：
 */
public class CardTypeModel extends StateModel{

    /**
     * code : 1
     * status : success
     * message : 获取卡成功
     * data : [{"card_flag":"H","card_name":"会员vip卡","card_id":"2031","max_price":"0.00","min_price":"0.00","duration":{"day":365},"active_time":"10"},{"card_flag":"Z","card_name":"尊爵卡","card_id":"2036","max_price":"0.00","min_price":"0.00","duration":{"day":36521},"active_time":"10"},{"card_flag":"H","card_name":"会员vip卡卡","card_id":"2044","max_price":"100.00","min_price":"1.00","duration":{"day":365},"active_time":"10"},{"card_flag":"Y","card_name":"瑜伽两年卡1","card_id":"2045","max_price":"0.00","min_price":"0.00","duration":{"day":730},"active_time":"10"},{"card_flag":"X","card_name":"续费升级卡","card_id":"2048","max_price":"0.00","min_price":"0.00","duration":{"day":365},"active_time":"10"},{"card_flag":"Z","card_name":"这个卡是时间限制卡","card_id":"2049","max_price":"0.00","min_price":"0.00","duration":{"day":365},"active_time":"10"},{"card_flag":"C","card_name":"测试团课","card_id":"2057","max_price":"0.00","min_price":"0.00","duration":{"day":365},"active_time":"10"},{"card_flag":"X","card_name":"新增卡年月","card_id":"2058","max_price":"0.00","min_price":"0.00","duration":{"day":1098},"active_time":"10276"},{"card_flag":"H","card_name":"会员卡附件","card_id":"2060","max_price":"0.00","min_price":"0.00","duration":{"day":365},"active_time":"10"},{"card_flag":"Z","card_name":"周末卡1","card_id":"2062","max_price":"0.00","min_price":"0.00","duration":{"day":365},"active_time":"10"},{"card_flag":"J","card_name":"界面修改测试卡","card_id":"2107","max_price":"0.00","min_price":"0.00","duration":{"day":365},"active_time":"10"}]
     */


    private List<DataBean> data;



    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * card_flag : H
         * card_name : 会员vip卡
         * card_id : 2031
         * max_price : 0.00
         * min_price : 0.00
         * duration : {"day":365}
         * active_time : 10
         */

        private String card_flag;
        private String card_name;
        private String card_id;
        private String max_price;
        private String min_price;
        private DurationBean duration;
        private String active_time;

        public String getCard_flag() {
            return card_flag;
        }

        public void setCard_flag(String card_flag) {
            this.card_flag = card_flag;
        }

        public String getCard_name() {
            return card_name;
        }

        public void setCard_name(String card_name) {
            this.card_name = card_name;
        }

        public String getCard_id() {
            return card_id;
        }

        public void setCard_id(String card_id) {
            this.card_id = card_id;
        }

        public String getMax_price() {
            return max_price;
        }

        public void setMax_price(String max_price) {
            this.max_price = max_price;
        }

        public String getMin_price() {
            return min_price;
        }

        public void setMin_price(String min_price) {
            this.min_price = min_price;
        }

        public DurationBean getDuration() {
            return duration;
        }

        public void setDuration(DurationBean duration) {
            this.duration = duration;
        }

        public String getActive_time() {
            return active_time;
        }

        public void setActive_time(String active_time) {
            this.active_time = active_time;
        }

        public static class DurationBean {
            /**
             * day : 365
             */

            private int day;

            public int getDay() {
                return day;
            }

            public void setDay(int day) {
                this.day = day;
            }
        }
    }
}
